package com.ruoyi.project.meal.domain;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.utils.DateUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 牛奶上报对象 meal_milk
 * 
 * @author sky
 * @date 2024-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MealMilk extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportDate;

    /** 班级 */
    @Excel(name = "班级")
    private String className;

    /** 院区 */
    @Excel(name = "院区")
    private String campus;

    /** 阶段，一阶、二阶、三阶、四阶 */
    private String phase;

    /** 填报人 */
    @Excel(name = "填报人")
    private String reportingPerson;

    /** 6:00-120ml_水奶 */
    @Excel(name = "6:00-120ml_水奶")
    private Integer water6120;

    /** 6:00-200ml_水奶 */
    @Excel(name = "6:00-200ml_水奶")
    private Integer water6200;

    /** 6:00-200ml_奶糊 */
    @Excel(name = "6:00-200ml_奶糊")
    private Integer paste6200;

    /** 6:00-特瓶 */
    @Excel(name = "6:00-特瓶")
    private Integer paste6Te;

    /** 6:00-空瓶 */
    @Excel(name = "6:00-空瓶")
    private Integer empty6;

    /** 9:00-120ml_水奶 */
    @Excel(name = "9:00-120ml_水奶")
    private Integer water9120;

    /** 9:00-200ml_水奶 */
    @Excel(name = "9:00-200ml_水奶")
    private Integer water9200;

    /** 9:00-200ml_奶糊 */
    @Excel(name = "9:00-200ml_奶糊")
    private Integer paste9200;

    /** 9:00-特瓶 */
    @Excel(name = "9:00-特瓶")
    private Integer paste9Te;

    /** 9:00-空瓶 */
    @Excel(name = "9:00-空瓶")
    private Integer empty9;

    /** 13:00-120ml_水奶 */
    @Excel(name = "13:00-120ml_水奶")
    private Integer water13120;

    /** 13:00-200ml_水奶 */
    @Excel(name = "13:00-200ml_水奶")
    private Integer water13200;

    /** 13:00-200ml_奶糊 */
    @Excel(name = "13:00-200ml_奶糊")
    private Integer paste13200;

    /** 13:00-特瓶 */
    @Excel(name = "13:00-特瓶")
    private Integer paste13Te;

    /** 13:00-空瓶 */
    @Excel(name = "13:00-空瓶")
    private Integer empty13;

    /** 16:00-120ml_水奶 */
    @Excel(name = "16:00-120ml_水奶")
    private Integer water16120;

    /** 16:00-200ml_水奶 */
    @Excel(name = "16:00-200ml_水奶")
    private Integer water16200;

    /** 16:00-200ml_奶糊 */
    @Excel(name = "16:00-200ml_奶糊")
    private Integer paste16200;

    /** 16:00-特瓶 */
    @Excel(name = "16:00-特瓶")
    private Integer paste16Te;

    /** 16:00-空瓶 */
    @Excel(name = "16:00-空瓶")
    private Integer empty16;

    /** 20:00-120ml_水奶 */
    @Excel(name = "20:00-120ml_水奶")
    private Integer water20120;

    /** 20:00-200ml_水奶 */
    @Excel(name = "20:00-200ml_水奶")
    private Integer water20200;

    /** 20:00-200ml_奶糊 */
    @Excel(name = "20:00-200ml_奶糊")
    private Integer paste20200;

    /** 20:00-特瓶 */
    @Excel(name = "20:00-特瓶")
    private Integer paste20Te;

    /** 20:00-空瓶 */
    @Excel(name = "20:00-空瓶")
    private Integer empty20;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间")
    private String reportDateStr;


    public String getReportDateStr() {
        if(reportDate!=null){
            reportDateStr= DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,reportDate);
        }
        return reportDateStr;
    }

}
